﻿
namespace SharpML.Api.Interfaces
{
    /// <summary>
    /// Consumer will abide the following flow control state transitions
    /// Consumer should not throw exception on bad state transition ( e.g. Run -> Resume )
    /// </summary>
    public interface IFlowControl
    {
        void Run();
        void Step();
        void Pause();
        void Resume();
        void Quit();
    }
}
